-- GENERATED SPELL FOR [Shadowpine Oracle] --


function spell0_16343(pUnit, Event) --@Dark Offering,Heal--
pUnit:FullCastSpellOnTarget(7154,pUnit)
pUnit:RegisterEvent('Sorts_16343', 0, 1)
end

function Sorts_16343(pUnit, Event)
local choix_sorts_16343 = math.random(0, 0)
if choix_sorts_16343 == 0 then
pUnit:RegisterEvent('spell0_16343', 1, 1)
end
end

function mob16343_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16343', math.random(1500, 3000), 1)
end

function mob16343_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16343_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16343_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16343, 1, 'mob16343_Action')
RegisterUnitEvent(16343, 2, 'mob16343_Leave')
RegisterUnitEvent(16343, 3, 'mob16343_Kill')
RegisterUnitEvent(16343, 4, 'mob16343_Die')
